package com.hsjk.szwj.module.smedia.service.mediaUpload;

import com.hsjk.szwj.module.smedia.controller.admin.mediaUpload.vo.CreateUploadStreamReqVO;
import com.hsjk.szwj.module.smedia.controller.admin.mediaUpload.vo.CreateUploadStreamRespVO;
import com.hsjk.szwj.module.smedia.controller.admin.mediaUpload.vo.RegisterMediaStreamReqVO;
import com.hsjk.szwj.module.smedia.controller.admin.mediaUpload.vo.RegisterMediaStreamRespVO;

/**
 * @author chenjiawei
 * @desc 媒资上传接口
 * @Date 2023/07/23 19:19
 **/
public interface IMediaUpload {
    /**
     * 获取媒体流上传地址和凭证
     *
     * @param reqVO
     * @return com.hsjk.szwj.module.smedia.controller.admin.mediaUpload.vo.CreateUploadStreamRespVO
     * @author chenjiawei
     * @date 2023/7/23 7:25 下午
     **/
    CreateUploadStreamRespVO createUploadStream(CreateUploadStreamReqVO reqVO);

    /**
     * 注册媒体流
     *
     * @param reqVO
     * @return com.hsjk.szwj.module.smedia.controller.admin.mediaUpload.vo.RegisterMediaStreamRespVO
     * @author chenjiawei
     * @date 2023/7/23 7:38 下午
     **/
    RegisterMediaStreamRespVO registerMediaStream(RegisterMediaStreamReqVO reqVO);
}
